<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="tj_kylx" style="height: 146px; margin: 0 auto">加载中...</div>

<script type="text/javascript">
    $(function () {
        setTimeout(
                function () {
                    $('#tj_kylx').highcharts({
                        exporting: {
                            enabled: false
                        },
                        legend: {
                            enabled: false
                        },
                        chart: {
                            type: 'column'
                        },
                        title: {
                            text: '科研立项'
                        },
                        subtitle: {
                            text: '2015科研立项数'
                        },
                        xAxis: {
                            labels: {
                                enabled: false
                            },
                            categories: [
                                '计算机系',
                                '汽车系',
                                '英语系',
                                '电子商务系'
                            ]
                        },
                        yAxis: {
                            min: 0,
                            title: {
                                text: '立项数'
                            }
                        },
                        tooltip: {
                            headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
                            pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                            '<td style="padding:0"><b>{point.y:.1f} </b></td></tr>',
                            footerFormat: '</table>',
                            shared: true,
                            useHTML: true
                        },
                        plotOptions: {
                            column: {
                                pointPadding: 0.2,
                                borderWidth: 0
                            }
                        },
                        series: [{
                            name: '科研立项',
                            data: [49, 71, 106, 29]

                        }]
                    });
                }, 300
        )
    });
</script>
